package com.talos.ums.controller.admin.scopeorganization.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "管理后台 - 经营范围组织关联表新增/修改 Request VO")
@Data
public class UmsScopeOrganizationSaveReqVO {

    @Schema(description = "自增id", requiredMode = Schema.RequiredMode.REQUIRED, example = "10897")
    private Long id;

    @Schema(description = "经营范围id bdms_business_scope.id", requiredMode = Schema.RequiredMode.REQUIRED, example = "25516")
    @NotNull(message = "经营范围id bdms_business_scope.id不能为空")
    private Long scopeId;

    @Schema(description = "组织机构ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "9122")
    @NotNull(message = "组织机构ID不能为空")
    private Long organizationId;

    @Schema(description = "组织编码")
    private String organizationCode;

    @Schema(description = "租户编码")
    private String tenantCode;

}
